<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #p1{color: red}
        .c1{
            color: green;}
        #p1,.c1,a{
            background: black;
        }
        input[type="text"]{color: red}
        input[type="password"]{
            background: green;
        }
        *{
            border: 1px solid red;
        }
    </style>
</head>
<body>
<input type="password" value="22">
<input type="text" value="11">
<a href="">lianj </a>
<p id="p1">苹果</p>
<p id="p1">香蕉</p>
<p>香蕉</p>
<div class="c1">梨</div>
<div>橘子</div>
<div class="c1">苹果</div>
</body>
</html>